package com.wy.Service;

import com.wy.pojo.Role;
import com.wy.vo.PageVo;
import com.wy.vo.RoleDto;

import java.util.List;

public interface RoleService {
    public List<Role> findAll();

    public void add(Role role);

    public void delete(Integer id);

    public List<Role> findBId(Integer id);

    //分页
    public PageVo searchPage(Integer current, Integer pageSize, RoleDto dto);

    public void update(Role role);
}
